<!DOCTYPE html>
<html>
<head>
    <title>instanceof</title>
    <meta charset="utf-8"/>
    <script src="../../js/jquery-1.10.1.min.js"></script>
    <script>
       function Foo(){}
       var f1 = new Foo();

       console.log(f1 instanceof  Foo);
       console.log(f1 instanceof  Object);

    </script>
</head>
<body>
    <p>instanceof</p>
</body>
</html>